Operationally-based program equivalence proofs using LCTRSs
نویسندگان
چکیده
We propose an operationally-based framework for deductive proofs of program equivalence. It is based on encoding the language semantics as logically constrained term rewriting systems (LCTRSs) and two programs terms. As a novelty our method, we show that it enables relational reasoning about in various settings, which are encoded operational semantics. For example, how method can be used to prove equivalent when considering unbounded stack, but where equivalence fails hold if stack bounded. also formalize read-sets write-sets symbolic expressions statements by extending conservative way. This verification schemas, exploit compiler optimizations cannot handled other tools. Our requires extension standard LCTRSs with axiomatized symbols, generate new research questions. present prototype implementation proves practical feasibility approach.
منابع مشابه
Program Equivalence Using Neural Networks
Program equivalence refers to the mapping between equivalent codes written in different languages – including high-level and lowlevel languages. In the present work, we propose a novel approach for correlating program codes of different languages using artificial neural networks and program characteristics derived from control flow graphs and call graphs. Our approach correlates the program cod...
متن کاملCompletely Automated Equivalence Proofs
Verifying partial (i.e., termination-insensitive) equivalence of programs has significant practical applications in software development and education. Conventional equivalence verifiers typically rely on a combination of given relational summaries and suggested synchronization points; such information can be extremely difficult for programmers without a background in formal methods to provide ...
متن کاملPlanning Equivalence Proofs
Di erent axiomatizations of mathematical concepts prove to be useful in a mathematical knowledge base, since each axiomatization of a concept is more or less helpful for the task at hand. To keep the knowledge base consistent, the equivalence of distinct de nitions for some concept must be formally proven. Especially in algebra, where various axiomatizations of an algebraic structure often occu...
متن کاملShort Proofs of Tautologies Using the Schema of Equivalence
It is shown how the schema of equivalence can be used to obtain short proofs of tautologies A, where the depth of proofs is linear in the number of variables in A. Eq (A, B, C arbitrary formulas) is the propositional pendant of the schema of identity. It can be argued that, apart form the usual propositional tautologies and inference schemas which are given as axiomatizations of propositional l...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
ژورنال
عنوان ژورنال: Journal of logical and algebraic methods in programming
سال: 2023
ISSN: ['2352-2208', '2352-2216']
DOI: https://doi.org/10.1016/j.jlamp.2023.100894